package cn.edu.hznu.ocw.domain;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;
import java.util.Set;

public class Lecturer implements Serializable {
	private static final long serialVersionUID = 1L;

	private int id;

	private String laddress;

	private Date lbirthday;

	private String lcompany;

	private String lemail;

	private String lintro;

	private String lmobilephone;

	private String lname;

	private byte lsex;

	private String ltelephone;

	private Set<Course> courses;

	private User user;

	public Lecturer() {
	}

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getLaddress() {
		return this.laddress;
	}

	public void setLaddress(String laddress) {
		this.laddress = laddress;
	}

	public Date getLbirthday() {
		return this.lbirthday;
	}

	public void setLbirthday(Date lbirthday) {
		this.lbirthday = lbirthday;
	}

	public String getLcompany() {
		return this.lcompany;
	}

	public void setLcompany(String lcompany) {
		this.lcompany = lcompany;
	}

	public String getLemail() {
		return this.lemail;
	}

	public void setLemail(String lemail) {
		this.lemail = lemail;
	}

	public String getLintro() {
		return this.lintro;
	}

	public void setLintro(String lintro) {
		this.lintro = lintro;
	}

	public String getLmobilephone() {
		return this.lmobilephone;
	}

	public void setLmobilephone(String lmobilephone) {
		this.lmobilephone = lmobilephone;
	}

	public String getLname() {
		return this.lname;
	}

	public void setLname(String lname) {
		this.lname = lname;
	}

	public byte getLsex() {
		return this.lsex;
	}

	public void setLsex(byte lsex) {
		this.lsex = lsex;
	}

	public String getLtelephone() {
		return this.ltelephone;
	}

	public void setLtelephone(String ltelephone) {
		this.ltelephone = ltelephone;
	}

	public Set<Course> getCourses() {
		return this.courses;
	}

	public void setCourses(Set<Course> courses) {
		this.courses = courses;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

}